﻿using Rsd.Dudu.ModelProvider;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Rsd.Faith.Models
{
    /// <summary>
    /// 申请表子表
    /// </summary>
    [Table("fiscal_开发商交存申请表子表", "fiscal__kfs_jiao_cun_sub_biao", "id")]
    [Serializable]
    public class FiscalKaiFaShangJiaoCunShenQingSubModel : Rsd.Faith.Core.ModelBase
    {

        /// <summary>
        /// 申请编号 
        /// </summary>
        [TableIndex(TableIndexType.Unique, TableIndexUsing.BTree)]
        [StringType("shen_qing_bian_hao", "申请编号", 20, 20)]
        [DisplayName("申请编号")]
        public string ShenQingBianHao { get; set; }

        /// <summary>
        /// 房屋代码 
        /// </summary>
        [TableIndex(TableIndexType.Unique, TableIndexUsing.BTree)]
        [StringType("fang_wu_dai_ma", "房屋代码", 21, 20)]
        [DisplayName("房屋代码")]
        public string FangWuDaiMa { get; set; }


        /// <summary>
        /// 小区编号
        /// </summary> 
        [StringType("shi_hao", "室号", 22, 20)]
        [DisplayName("室号")]
        public string ShiHao { get; set; }

        /// <summary>
        /// 面积
        /// </summary>
        [NumericType("gou_fang_zong_e", "面积", 24, 20, 2)]
        [DisplayName("面积")]
        public decimal MianJi { get; set; }

        /// <summary>
        /// 交存标准
        /// </summary> 
        [StringType("jiao_cun_biao_zhun", "交存标准", 26, 20)]
        [DisplayName("交存标准")]
        public string JiaoCunBiaoZhun { get; set; }

        /// <summary>
        /// 应交金额
        /// </summary>
        [NumericType("ying_jiao_jin_e", "应交金额", 28, 20, 2)]
        [DisplayName("应交金额")]
        public decimal YingJiaoJinE { get; set; }

    }
}
